<?php

/**
 * This file is part of the People Of Walmart block for Moodle.
 * Copyright (C) 2009-2010 <anonymousmoodler@gmail.com>
 * 
 * The People Of Walmart block is distributed under the terms of the GNU
 * General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version. You should
 * have received a copy of the GNU General Public License along with the People
 * Of Walmart block. If not, see <http://www.gnu.org/licenses/>.
 */

$settings->add(
    new admin_setting_configcheckbox(
        'block_peopleofwalmart_cache_thumbnails',
        get_string('cache_thumbnails', 'block_peopleofwalmart'),
        get_string('cache_thumbnails_description', 'block_peopleofwalmart'),
        0
    )
);

$settings->add(
    new admin_setting_configtext(
        'block_peopleofwalmart_thumbnail_quality',
        get_string('thumbnail_quality', 'block_peopleofwalmart'),
        get_string('thumbnail_quality_description', 'block_peopleofwalmart'),
        75,
        PARAM_INT
    )
);

$settings->add(
    new admin_setting_configtext(
        'block_peopleofwalmart_thumbnail_cache_time',
        get_string('thumbnail_cache_time', 'block_peopleofwalmart'),
        get_string('thumbnail_cache_time_description', 'block_peopleofwalmart'),
        1440,
        PARAM_INT
    )
);

?>